home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / Mesa-3.0 / SRC / Windows / mesa_extend.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-07  |  884 b   |  45 lines

  1. /* mesa_extend.h    
  2.  * for wmesa-2.3                                
  3.  *  Written by Li Wei (liwei@aiar.xjtu.edu.cn)
  4.  */
  5.  
  6. /* Log 6/14, 1997
  7.  * revision 1.01
  8.  * struct DisplayOptions defined for tk_ddmesa.c to read the initial file
  9.  */
  10.  
  11. #include <GL/gl.h>
  12. #include <stdlib.h>
  13. #include <windows.h>
  14. #include <winbase.h>
  15.  
  16. typedef enum SHIFT{ SHIFT_NONE, SHIFT_LEFT,SHIFT_RIGHT,SHIFT_UP,SHIFT_DOWN,SHIFT_FAR,SHIFT_NEAR};
  17.  
  18. extern GLfloat deltaView ;
  19.  
  20. extern GLuint viewShift;
  21.  
  22. extern GLenum glImageRendered();
  23.  
  24. extern GLenum imageRendered ;
  25.  
  26. extern GLfloat deltaView ;
  27.  
  28. extern GLfloat deltaShift;
  29.  
  30. void shiftView( void );
  31.  
  32. struct DISPLAY_OPTIONS {
  33.     int  stereo;
  34.     int  fullScreen;
  35.     int     mode;
  36.     int     bpp;
  37. };
  38.  
  39. extern struct DISPLAY_OPTIONS displayOptions;
  40. extern void getDisplayOptions( void);
  41.  
  42. GLenum defaultKeyProc(int, GLenum);
  43. extern GLenum (*userKeyProc) (int, GLenum);
  44.  
  45.